package orm;

import com.alibaba.fastjson.JSONObject;

/**
 * Created by fin on 2017/7/9.
 */
public class Token {


    private JSONObject header;

    private JSONObject payload;

    public Token (){
    }

    public Token(JSONObject header, JSONObject payload) {
        this.header=header;
        this.payload=payload;
    }

    public JSONObject getHeader() {
        return header;
    }

    public void setHeader(JSONObject header) {
        this.header = header;
    }

    public JSONObject getPayload() {
        return payload;
    }

    public void setPayload(JSONObject payload) {
        this.payload = payload;
    }
}